<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
      <head>
      	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      	<meta th:include="./common"/>
	 	<style type="text/css">
			#list_UserInfo .test1{
				width: 200px;
			}#list_UserInfo tr td{
				font-size:12px;
				padding: 5px !important;
			}#list_UserInfo th{
				font-size:14px;
				padding: 0px !important;
			}#listSysRole_modal tr td{
				font-size:12px;
				padding: 4px !important;
			}.modal-dialog th{
				font-size:14px;
				padding: 0px !important;
				height: 20px;
			}
			.pagination-detail{
				margin: 1px;
			}.pagination{
			
			}.modal-dialog .fixed-table-container{
				border-bottom: 0px;
			}
		</style>
      </head>
      <body style="height: 80%" class="body_user">
			<div class="panel-body" style="padding:5px">
		       <!--用户列表工具栏  -->
		       <div id="toolbar_userinfo" style="padding: 3px;">
		            <div class="pull-left search" style="margin-top: 10px;">
		            <input class="form-control" id="uname_id" style="display:inline;width: 180px" placeholder="姓名搜索" type="text"/>
		            <input class="form-control" id="username_id" style="display:inline;width: 180px" placeholder="帐号搜索" type="text"/>
		            </div>&nbsp;&nbsp;
		            <button id="button_user" style="margin-top: 10px;" class="btn btn-primary">查询</button>
		            <!-- 输出当前用户信息，通常为登录帐号信息。<shiro:principal/> -->
		             <!-- 验证当前用户是否属于该角色。 -->  

		            <button id="button_add" style="margin-top: 10px;" class="btn btn-primary" onclick="user_Excel()" >导出EXCEL</button>
		            <button id="button_add" style="margin-top: 10px;" href="/mail/add_userInfo" index="11" class="J_menuItemIframe btn btn-primary">用户添加</button>
		        	
		        </div>
		         <!--用户列表信息  -->
		        <table id="list_UserInfo"
		               data-toggle="table"
		               data-toolbar="#toolbar_userinfo"
		               data-pagination="true"
		               data-height=""
		               data-search="false"
		               data-url="/mail/listUserInfoAjax"
		               data-cache="false"
		               data-striped="true"
		               data-page-size="20"
		               data-sort-name="id"
               		   data-sort-order="desc"
		               >
		               <thead>
                            <tr>
                            	<th data-field="state" data-checkbox="true"></th>
                                <th data-field="id">ID</th>
                                <th data-field="uname">名称</th>
                                <th data-field="jobNumber">工号</th>
                                <th data-field="phone">电话</th>
                                <th data-field="umail">邮件</th>
                                <th data-field="orgname">所属公司</th>
                                <th data-field="ustate">状态</th>
                                <th class="test1" data-formatter="operateFormatter" shiro:authenticated="true">操作</th>
                            </tr>
                        </thead>
		        </table>
	  </div>
      
      

	  <script src="plugin/testH/bootstrap-table/tableExport.js"></script>
      <script src="js/sysBase/list_UserInfo.js"></script>
     
      </body>
</html>